package com.medium.house.request;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author : wang.yu
 * @Description :
 * @Date: Created in 2018/1/31 0031  10:40
 * @Modified By
 */
@Data
public class WechatUserRequestDto implements Serializable {
    @NotBlank(message = "code不能为空")
    private String code;
    @NotBlank(message = "昵称不能为空")
    private String nickName;
    private String avatarUrl;
    private int gender;
    private String city;
    private String province;
    private String country;
    private String language;
}
